﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JSC.Portal.Search
{
    /// <summary>
	/// Class that holds the content to be indexed for a single document.
	/// </summary>
	public class SearchableContent
	{
		/// <summary>
        /// Default constructor.
        /// </summary>
        public SearchableContent() { }

		/// <summary>
		/// Property Name (string)
		/// </summary>
		public string Name
		{
            get;
            set;
		}

		/// <summary>
        /// Property Description (string)
		/// </summary>
		public string Description
		{
            get;
            set;
		}

		/// <summary>
		/// Property Contents (string)
		/// </summary>
		public string Contents
		{
            get;
            set;
		}

		/// <summary>
		/// Property Author (string)
		/// </summary>
		public string Author
		{
            get;
            set;
		}

		/// <summary>
		/// Property ModuleType (string)
		/// </summary>
		public string ModuleType
		{
            get;
            set;
		}

		/// <summary>
		/// Property Path (string)
		/// </summary>
		public string Path
		{
            get;
            set;
		}

		/// <summary>
		/// Property Category (string)
		/// </summary>
		public string Category
		{
            get;
            set;
		}

		/// <summary>
		/// Property DateCreated (DateTime)
		/// </summary>
		public DateTime DateCreated
		{
            get;
            set;
		}

		/// <summary>
		/// Property DateModified (DateTime)
		/// </summary>
		public DateTime DateModified
		{
            get;
            set;
		}

		/// <summary>
		/// Property SectionId (int)
		/// </summary>
		public int SectionId
		{
            get;
            set;
		}
	}
}